﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVVM_CAD.Model;

namespace MVVM_CAD.Algorithms
{
    //Facade Line
    public class LineRepresentation
    {
        public static IEnumerable<IPoint> GetLineRepresentation(IPoint begin, IPoint end, bool antialiased)
        {
            return antialiased ? WuLines.GetLineRepresentation(begin, end) : BressenhamLine.GetLineRepresentation(begin,end);
        }
    }
}
